package myschool.dao;

import myschool.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    public int add(Student g);
    public int update(Student g);
    public int del(Integer stuno);
    public List<Student> findAll();
    public List<Student> paging(@Param("pageNo") int pageNo, @Param("size") int pageSize);
    public List<Student> selectAllAndGradename(@Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
}
